import { request } from '../../src/util/api'
// 随手拍提交
export function categoryList() {
    return request({
        url: `/mini/suishoupai.Suishoupai/categoryList`,
        method: 'post',
        isJson: true,
        isToken: true
    })
}
// 随手拍新增
export function submit(data) {
    return request({
        url: `/mini/suishoupai.Suishoupai/submit`,
        method: 'post',
        data,
        isJson: true,
        isToken: true
    })
}
// 随手拍编辑
export function contentEdit(data) {
    return request({
        url: `/mini/suishoupai.Suishoupai/contentEdit`,
        method: 'post',
        data,
        isJson: true,
        isToken: true
    })
}

// 随手拍与反馈详情
export function contentInfo(data) {
    return request({
        url: `/mini/suishoupai.Suishoupai/contentInfo`,
        method: 'post',
        data,
        isJson: true,
        isToken: true
    })
}

// 反馈新增
export function feedSubmit(data) {
    return request({
        url: `/mini/suishoupai.Suishoupai/feedSubmit`,
        method: 'post',
        data,
        isJson: true,
        isToken: true
    })
}